/****************************************************************************
** Meta object code from reading C++ file 'widget.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "widget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'widget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_Widget_t {
    QByteArrayData data[26];
    char stringdata0[374];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Widget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Widget_t qt_meta_stringdata_Widget = {
    {
QT_MOC_LITERAL(0, 0, 6), // "Widget"
QT_MOC_LITERAL(1, 7, 17), // "currentTimeSignal"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 4), // "time"
QT_MOC_LITERAL(4, 31, 21), // "currentProgressSignal"
QT_MOC_LITERAL(5, 53, 15), // "currentProgress"
QT_MOC_LITERAL(6, 69, 15), // "totalTimeSignal"
QT_MOC_LITERAL(7, 85, 9), // "totalTime"
QT_MOC_LITERAL(8, 95, 16), // "changeSongByMode"
QT_MOC_LITERAL(9, 112, 16), // "sliderClikedSlot"
QT_MOC_LITERAL(10, 129, 18), // "sliderReleasedSlot"
QT_MOC_LITERAL(11, 148, 23), // "sliderVoiceReleasedSlot"
QT_MOC_LITERAL(12, 172, 8), // "playSong"
QT_MOC_LITERAL(13, 181, 12), // "playNextSong"
QT_MOC_LITERAL(14, 194, 11), // "playPreSong"
QT_MOC_LITERAL(15, 206, 8), // "setVoice"
QT_MOC_LITERAL(16, 215, 19), // "setCurrentTimeLabel"
QT_MOC_LITERAL(17, 235, 17), // "setTotalTimeLabel"
QT_MOC_LITERAL(18, 253, 16), // "setCurrentSlider"
QT_MOC_LITERAL(19, 270, 12), // "songListSlot"
QT_MOC_LITERAL(20, 283, 16), // "QListWidgetItem*"
QT_MOC_LITERAL(21, 300, 4), // "item"
QT_MOC_LITERAL(22, 305, 16), // "songShowListSlot"
QT_MOC_LITERAL(23, 322, 14), // "playModeChange"
QT_MOC_LITERAL(24, 337, 20), // "changeSongByModeSlot"
QT_MOC_LITERAL(25, 358, 15) // "speedModeChange"

    },
    "Widget\0currentTimeSignal\0\0time\0"
    "currentProgressSignal\0currentProgress\0"
    "totalTimeSignal\0totalTime\0changeSongByMode\0"
    "sliderClikedSlot\0sliderReleasedSlot\0"
    "sliderVoiceReleasedSlot\0playSong\0"
    "playNextSong\0playPreSong\0setVoice\0"
    "setCurrentTimeLabel\0setTotalTimeLabel\0"
    "setCurrentSlider\0songListSlot\0"
    "QListWidgetItem*\0item\0songShowListSlot\0"
    "playModeChange\0changeSongByModeSlot\0"
    "speedModeChange"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Widget[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      19,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       4,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,  109,    2, 0x06 /* Public */,
       4,    1,  112,    2, 0x06 /* Public */,
       6,    1,  115,    2, 0x06 /* Public */,
       8,    0,  118,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    0,  119,    2, 0x0a /* Public */,
      10,    0,  120,    2, 0x0a /* Public */,
      11,    0,  121,    2, 0x0a /* Public */,
      12,    0,  122,    2, 0x0a /* Public */,
      13,    0,  123,    2, 0x0a /* Public */,
      14,    0,  124,    2, 0x0a /* Public */,
      15,    0,  125,    2, 0x0a /* Public */,
      16,    1,  126,    2, 0x0a /* Public */,
      17,    1,  129,    2, 0x0a /* Public */,
      18,    1,  132,    2, 0x0a /* Public */,
      19,    1,  135,    2, 0x0a /* Public */,
      22,    1,  138,    2, 0x0a /* Public */,
      23,    0,  141,    2, 0x0a /* Public */,
      24,    0,  142,    2, 0x0a /* Public */,
      25,    0,  143,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    5,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    5,
    QMetaType::Void, 0x80000000 | 20,   21,
    QMetaType::Void, 0x80000000 | 20,   21,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Widget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Widget *_t = static_cast<Widget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->currentTimeSignal((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->currentProgressSignal((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->totalTimeSignal((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->changeSongByMode(); break;
        case 4: _t->sliderClikedSlot(); break;
        case 5: _t->sliderReleasedSlot(); break;
        case 6: _t->sliderVoiceReleasedSlot(); break;
        case 7: _t->playSong(); break;
        case 8: _t->playNextSong(); break;
        case 9: _t->playPreSong(); break;
        case 10: _t->setVoice(); break;
        case 11: _t->setCurrentTimeLabel((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->setTotalTimeLabel((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->setCurrentSlider((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 14: _t->songListSlot((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
        case 15: _t->songShowListSlot((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break;
        case 16: _t->playModeChange(); break;
        case 17: _t->changeSongByModeSlot(); break;
        case 18: _t->speedModeChange(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Widget::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Widget::currentTimeSignal)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Widget::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Widget::currentProgressSignal)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Widget::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Widget::totalTimeSignal)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Widget::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Widget::changeSongByMode)) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject Widget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_Widget.data,
      qt_meta_data_Widget,  qt_static_metacall, nullptr, nullptr}
};


const QMetaObject *Widget::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *Widget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Widget.stringdata0))
        return static_cast<void*>(const_cast< Widget*>(this));
    return QWidget::qt_metacast(_clname);
}

int Widget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 19)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 19;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 19)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 19;
    }
    return _id;
}

// SIGNAL 0
void Widget::currentTimeSignal(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Widget::currentProgressSignal(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Widget::totalTimeSignal(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Widget::changeSongByMode()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
